@include('admin._include.header')
<style>
    .class-item:not(:first-child) {
        width: 49%;
        float: left;
    }

    .class-item:not(:first-child):nth-child(odd) {
        margin-left: 2%;
    }

    .layui-elem-quote {
        margin: 20px 0;
        background-color: #fff;
    }
    .layui-text h3{
        font-size: 15px;
    }

</style>
<body class="auth-user">
<div class="layui-fluid">
    <div class="layui-row larryms-panel auth-user-add">
        <form class="layui-form layui-form-pane" method="post">

            <div class="class-item">

                <blockquote class="layui-elem-quote">用户基础信息：</blockquote>

                <div class="layui-form-item">
                    <label class="layui-form-label">昵称</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->nick_name}}"
                               class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">手机号</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->mobile}}"
                               class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">性别</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->sex_string}}"
                               class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">生日</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->birthday}}"
                               class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">来源</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->source_string}}"
                               class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">等级</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->level_string}}"
                               class="layui-input">
                    </div>
                </div>
                @if($user->level == 3)
                    <div class="layui-form-item">
                        <label class="layui-form-label">合伙人到期时间</label>
                        <div class="layui-input-inline" style="width: 450px">
                            <input type="text"  placeholder="" disabled value="{{$user->partner_end}}"
                                   class="layui-input">
                        </div>
                    </div>
                @endif
                <div class="layui-form-item">
                    <label class="layui-form-label">邀请人</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->pid_string}}"
                               class="layui-input">
                    </div>
                </div>


                <blockquote class="layui-elem-quote">账户信息：</blockquote>


                <div class="layui-form-item">
                    <label class="layui-form-label">余额</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->balance}}"
                               class="layui-input">
                    </div>
                </div>


                <div class="layui-form-item">
                    <label class="layui-form-label">分润金额</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->commission_amount}}"
                               class="layui-input">
                    </div>
                </div>


                <div class="layui-form-item">
                    <label class="layui-form-label">已提现金额</label>
                    <div class="layui-input-inline" style="width: 450px">
                        <input type="text"  placeholder="" disabled value="{{$user->withdraw_amount}}"
                               class="layui-input">
                    </div>
                </div>

            </div>



            <div class="clear"></div>
            <div style="height: 100px"></div>

        </form>
    </div>
</div>


</body>
@include('admin._include.footer')